﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Transport
{
    public class CartDTO
    {
        public CartDTO(int songay,string maxe, string hieuxe, int phuongthuclai, string mien, string madichvu, int giatien, int soso, DateTime tungay, DateTime denngay, string malotrinh, string tenDichvu, TimeSpan giondon,string diadiemdon)
        {
            this.SoCho = soso;
            this.MaXe = maxe;
            this.HieuXe = hieuxe;
            this.PhuongThucLai = phuongthuclai;
            this.Mien = mien;
            this.MaDichVu = madichvu;
            this.GiaTien = giatien;
            this.TuNgay = tungay;
            this.DenNgay = denngay;
            this.MaLoTrinh = malotrinh;
            this.TenDichVu = tenDichvu;
            this.GioDon = giondon;
            this.DiaDiemDon = diadiemdon;
            this.SoNgay = songay;
        }
        private int soNgay;

        public int SoNgay
        {
            get { return soNgay; }
            set { soNgay = value; }
        }
        private string diaDiemDon;

        public string DiaDiemDon
        {
            get { return diaDiemDon; }
            set { diaDiemDon = value; }
        }
        private TimeSpan _gioDon;

        public TimeSpan GioDon
        {
            get { return _gioDon; }
            set { _gioDon = value; }
        }
        private DateTime _tuNgay;

        public DateTime TuNgay
        {
            get { return _tuNgay; }
            set { _tuNgay = value; }
        }
        private DateTime _denNgay;

        public DateTime DenNgay
        {
            get { return _denNgay; }
            set { _denNgay = value; }
        }
        private string _maLoTrinh;

        public string MaLoTrinh
        {
            get { return _maLoTrinh; }
            set { _maLoTrinh = value; }
        }
        private int _soCho;

        public int SoCho
        {
            get { return _soCho; }
            set { _soCho = value; }
        }

        private string _maXe;
        public string MaXe
        {
            get { return _maXe; }
            set { _maXe = value; }
        }
        private string _hieuXe;

        public string HieuXe
        {
            get { return _hieuXe; }
            set { _hieuXe = value; }
        }
        private int _phuongThucLai;

        public int PhuongThucLai
        {
            get { return _phuongThucLai; }
            set { _phuongThucLai = value; }
        }
        private string _maDichVu;

        public string MaDichVu
        {
            get { return _maDichVu; }
            set { _maDichVu = value; }
        }
        private int _giaTien;

        public int GiaTien
        {
            get { return _giaTien; }
            set { _giaTien = value; }
        }
        private string _mien;

        public string Mien
        {
            get { return _mien; }
            set { _mien = value; }
        }
        private string tenDichVu;

        public string TenDichVu
        {
            get { return tenDichVu; }
            set { tenDichVu = value; }
        }
    }
}